<?php
defined ( 'BASEPATH' ) or exit ( 'No direct script access allowed' );
class Record_model extends CI_Model {
	public function __construct() {
		parent::__construct ();
	}
	/*
	 * 记得用户登录信息
	 */
	public function create($record){
		$this->db->insert('t_record', $record);
		return $this->db->insert_id();
	}
}